<?php

namespace maotool\lock;

interface Lock
{

    public function create($key);

    public function open($key);

    public function close($key);

    public function status($key);

    public function wait($key);

}